<html>
<head><meta charset="utf-8"><title>mingw-check broken · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html">mingw-check broken</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="248523441"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248523441" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248523441">(Aug 05 2021 at 19:20)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/87798/checks?check_run_id=3255657399">https://github.com/rust-lang/rust/pull/87798/checks?check_run_id=3255657399</a> Fails with <code>fatal: remote error: upload-pack: not our ref 9ad6e5b8f68ee4bcd85886e50b8b0a70cbb91a52</code></p>



<a name="248523754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248523754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248523754">(Aug 05 2021 at 19:23)</a>:</h4>
<p>I'd have assumed that's some kind of spurious failure, but it stayed on two restarts of the job.</p>



<a name="248531265"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248531265" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248531265">(Aug 05 2021 at 20:22)</a>:</h4>
<p>I believe this is <a href="#narrow/stream/241545-t-release/topic/1.2E54.20release/near/247399631">https://rust-lang.zulipchat.com/#narrow/stream/241545-t-release/topic/1.2E54.20release/near/247399631</a>.  There are some comments there that explain why it is failing.</p>
<p>I think <a href="https://github.com/rust-lang/rust/pull/87792">https://github.com/rust-lang/rust/pull/87792</a> is open to fix the problem.</p>



<a name="248673955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248673955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248673955">(Aug 06 2021 at 22:04)</a>:</h4>
<p>What's not really clear to me is why this affects that one PR, but it seems to work fine on many others.</p>



<a name="248713899"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248713899" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248713899">(Aug 07 2021 at 12:23)</a>:</h4>
<p>Rebasing the commit seems to have fixed it, though I don't know why</p>



<a name="248719433"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/mingw-check%20broken/near/248719433" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/mingw-check.20broken.html#248719433">(Aug 07 2021 at 14:40)</a>:</h4>
<p>The reason a rebase fixes it is that it allows the errant call to <code>git fetch</code> to not try to actually fetch anything. It is trying to fetch <code>GITHUB_BASE_REF</code> which is the destination branch for the PR (master). The original clone is a shallow clone (depth 2) which means that if your PR is too far away from the current master, the call to <code>git fetch GITHUB_BASE_REF</code> ends up trying to fetch the entire repository. I'm not sure why it gets confused and breaks on the submodules, perhaps some weird git issue or interaction with GitHub and shallow clones.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>